Optimal. Leaf size=25 \[ \frac {e x}{b}+\frac {(b d-a e) \log (a+b x)}{b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {27, 45}
\begin {gather*} \frac {(b d-a e) \log (a+b x)}{b^2}+\frac {e x}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 45
Rubi steps
\begin {align*} \int \frac {(a+b x) (d+e x)}{a^2+2 a b x+b^2 x^2} \, dx &=\int \frac {d+e x}{a+b x} \, dx\\ &=\int \left (\frac {e}{b}+\frac {b d-a e}{b (a+b x)}\right ) \, dx\\ &=\frac {e x}{b}+\frac {(b d-a e) \log (a+b x)}{b^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 25, normalized size = 1.00 \begin {gather*} \frac {e x}{b}+\frac {(b d-a e) \log (a+b x)}{b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.88, size = 26, normalized size = 1.04
method | result | size |
default | \(\frac {e x}{b}+\frac {\left (-a e +b d \right ) \ln \left (b x +a \right )}{b^{2}}\) | \(26\) |
risch | \(\frac {e x}{b}-\frac {\ln \left (b x +a \right ) a e}{b^{2}}+\frac {\ln \left (b x +a \right ) d}{b}\) | \(32\) |
norman | \(\frac {e \,x^{2}-\frac {a^{2} e}{b^{2}}}{b x +a}-\frac {\left (a e -b d \right ) \ln \left (b x +a \right )}{b^{2}}\) | \(44\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 27, normalized size = 1.08 \begin {gather*} \frac {x e}{b} + \frac {{\left (b d - a e\right )} \log \left (b x + a\right )}{b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.29, size = 26, normalized size = 1.04 \begin {gather*} \frac {b x e + {\left (b d - a e\right )} \log \left (b x + a\right )}{b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.07, size = 20, normalized size = 0.80 \begin {gather*} \frac {e x}{b} - \frac {\left (a e - b d\right ) \log {\left (a + b x \right )}}{b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.47, size = 28, normalized size = 1.12 \begin {gather*} \frac {x e}{b} + \frac {{\left (b d - a e\right )} \log \left ({\left | b x + a \right |}\right )}{b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 26, normalized size = 1.04 \begin {gather*} \frac {e\,x}{b}-\frac {\ln \left (a+b\,x\right )\,\left (a\,e-b\,d\right )}{b^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________